<template>
	<view>
		<cu-custom bgColor="bg-white" :isBack="true">
			<block slot="content">易雪红</block>
			<!-- <block slot="right">
					<image @click="showFun" class="nav-right-image" src="@/static/images/nav_opt.png"></image>
				</block> -->
		</cu-custom>

		<view class="page-content" :style="{height:this.ContentArea+'px',paddingTop:'30rpx'}">
			<view class="create-date">
				创建日期：2023.10.10
				<span class="running">进行中</span>
			</view>
			<view style="padding: 10px;margin-top: 10px;">
				<view class="detail">
					<view class="item-label">申请人</view>
					<view class="item-value">张雪</view>
				</view>
				<view class="detail">
					<view class="item-label">申请日期</view>
					<view class="item-value">2023/10/10 12:00</view>
				</view>
				<view class="detail">
					<view class="item-label">调岗类型</view>
					<view class="item-value">升职</view>
				</view>
				<view class="detail">
					<view class="item-label">姓名</view>
					<view class="item-value">易雪红</view>
				</view>
				<view class="detail">
					<view class="item-label">工号</view>
					<view class="item-value">123456567</view>
				</view>
				<view class="detail">
					<view class="item-label">籍贯</view>
					<view class="item-value">四川</view>
				</view>
				<view class="detail">
					<view class="item-label">性别</view>
					<view class="item-value">男</view>
				</view>
				<view class="detail">
					<view class="item-label">年龄</view>
					<view class="item-value">35</view>
				</view>
				<view class="detail">
					<view class="item-label">学历</view>
					<view class="item-value">高中</view>
				</view>
				<view class="detail">
					<view class="item-label">工龄</view>
					<view class="item-value">10年</view>
				</view>
				<view class="detail">
					<view class="item-label">公司</view>
					<view class="item-value">
						<view style="padding: 5px 10px;background-color: rgba(249, 249, 249, 1);width: 130px;">
							<img class="icon" src="../../static/images/lou.png" alt="">福建华源纺织
						</view>
					</view>
				</view>
				<view class="detail">
					<view class="item-label">部门</view>
					<view class="item-value">
						<view style="padding: 5px 10px;background-color: rgba(249, 249, 249, 1);width: 130px;">
							<img class="icon" src="../../static/images/lou.png" alt="">前纺BQF
						</view>
					</view>
				</view>
				<view class="detail">
					<view class="item-label">岗位</view>
					<view class="item-value">职工</view>
				</view>
				<view class="detail">
					<view class="item-label">是否使用新工号</view>
					<view class="item-value">否</view>
				</view>
				<view class="detail">
					<view class="item-label">新工号</view>
					<view class="item-value">无</view>
				</view>
				<view class="detail">
					<view class="item-label">转入公司</view>
					<view class="item-value">
						<view style="padding: 5px 10px;background-color: rgba(249, 249, 249, 1);width: 130px;">
							<img class="icon" src="../../static/images/lou.png" alt="">福建华源纺织
						</view>
					</view>
				</view>
				<view class="detail">
					<view class="item-label">转入部门</view>
					<view class="item-value">
						<view style="padding: 5px 10px;background-color: rgba(249, 249, 249, 1);width: 130px;">
							<img class="icon" src="../../static/images/lou.png" alt="">前纺BQF
						</view>
					</view>
				</view>
				<view class="detail">
					<view class="item-label">转入岗位</view>
					<view class="item-value">细沙</view>
				</view>
				<view class="detail">
					<view class="item-label">调岗原因</view>
					<view class="item-value">升职</view>
				</view>
			</view>
			<view class="return">
				<span style="font-weight: bold;">退宿</span>
				<span class="go" @click="goTo">前往</span>
			</view>
		</view>
	</view>
</template>

<script>
	import moment from 'moment';
	export default {
		data() {
			return {}
		},
		mounted() {

		},
		computed: {

		},
		methods: {
			goTo() {

			}
		}
	}
</script>

<style lang="scss" scoped>
	.return {
		position: relative;
		background-color: #EDF4ff;
		border-radius: 24rpx;
		padding: 30rpx 20rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.go {
		border-radius: 100rpx;
		padding: 20rpx 30rpx;
		background-color: #2f86fd;
		color: white;
	}

	.icon {
		width: 24rpx;
		margin-right: 10rpx;
		vertical-align: middle;
	}

	.detail {
		display: flex;
		height: 60rpx;
		align-items: center;
	}

	.item-label {
		width: 30%;
	}

	.item-value {
		flex: 1;
	}

	.create-date {
		position: relative;
		color: #4591FE;
		background-color: #f4f5fc;
		border-radius: 24rpx;
		padding: 20rpx;
	}

	.running {
		border-radius: 0 20rpx 0 20rpx;
		position: absolute;
		right: 0;
		top: 0;
		padding: 5rpx 20rpx;
		background-color: #2f86fd;
		color: white;
	}

	image {
		width: 100%;
		height: 100%;
	}

	.blackList {
		height: 100%;
		overflow: hidden;
	}

	.page-search {
		padding-left: 34rpx;
		margin-bottom: 12rpx;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.search {
		width: 588rpx;
		height: 86rpx;
		background-color: rgba(249, 249, 249, 1);
		border-radius: 60rpx;
		display: flex;
		flex-direction: row;
		align-items: center;
		padding-left: 24rpx;
		padding-right: 24rpx;

		.search-left {
			width: 28rpx;
			height: 28rpx;
			display: flex;
			justify-content: center;
			align-items: center;
		}

		.search-center {
			margin-left: 22rpx;
		}

		.search-placeholder {
			font-size: 28rpx;
			font-weight: 400;
			color: #7C7C7C;
		}


	}

	.filter-btn {
		width: 40rpx;
		height: 40rpx;
		margin-right: 42rpx;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.page-content-main {
		// min-height: calc(100% - 12rpx - 86rpx);
		min-height: 90%;
		border-radius: 64rpx;
		background-color: #F9F9F9;
		padding: 26rpx 34rpx 0 34rpx
	}

	.page-content {
		background-color: white;
		padding: 0 4%;
	}

	.select-box {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;

	}

	.select {
		width: 160rpx;
		height: 74rpx;
		border-radius: 60rpx;
		background-color: #4591FE;
		margin-bottom: 20rpx;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		margin-right: 48rpx;
		position: relative;

    .select-value {
      font-size: 28rpx;
      font-weight: 400;
      color: #FFFFFF;
      margin-right: 18rpx;
    }

    .select-icon {
      width: 22rpx;
      height: 22rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      right: 20rpx;
      top:25rpx;
    }
	}

	.list {
		max-height: calc(100% - 74rpx - 20rpx);

		::v-deep {
			.uni-scroll-view-content {
				display: flex;
				flex-direction: row;
				flex-wrap: wrap;
				justify-content: flex-start;

			}
		}

	}

	.list-item {
		background-color: #FFFFFF;
		border-radius: 40rpx;
		width: 322rpx;
		height: 354rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-bottom: 26rpx;
		margin-right: 38rpx;


		.list-item-avatar-box {
			width: 90rpx;
			height: 90rpx;
			border-radius: 90rpx;
			opacity: 1;
			border: 2rpx solid #4591FE;
			display: flex;
			justify-content: center;
			align-items: center;

			margin-bottom: 12rpx;
		}

		.list-item-avatar {
			width: 78rpx;
			height: 78rpx;
		}

		.list-item-sex {
			width: 60rpx;
			height: 42rpx;
			border-radius: 40rpx;
			background-color: rgba(69, 145, 254, 0.33);
			text-align: center;
			line-height: 42rpx;
			margin-bottom: 18rpx;
		}

		.list-item-sex-text {
			font-size: 24rpx;
			color: #4591FE;

		}

		.list-item-name {
			margin-bottom: 20rpx;
		}

		.list-item-name-text {
			font-size: 32rpx;
			font-weight: 500;
			color: #000000;
		}

		.list-item-row {
			margin-bottom: 26rpx;
		}

		.list-item-row-text {
			font-size: 24rpx;
			font-weight: 400;
			color: #000000;
		}
	}

	.list-item:nth-child(odd) {
		margin-right: 0;
	}

	.nav-right-image {
		width: 80rpx;
		height: 80rpx;
		margin-left: 15px;
	}

	.fun-wrap {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(3, 3, 3, 0.28);
		z-index: 10000;
	}

	.fun-box {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		flex-wrap: wrap;
		width: 556rpx;
		height: 656rpx;
		border-top-left-radius: 42rpx;
		border-bottom-left-radius: 42rpx;
		border-bottom-right-radius: 42rpx;
		position: absolute;
		right: 74rpx;
		background-color: #FFFFFF;
	}

	.fun-item {
		width: 185rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-bottom: 44rpx;
	}

	.fun-icon {
		width: 110rpx;
		height: 110rpx;
		margin-bottom: 22rpx;
	}

	.cu-form-group {
		background-color: transparent;
	}

	::v-deep {
		.cu-form-group uni-picker .picker {
			color: #FFFFFF;
		}

		.cu-form-group uni-picker::after {
			opacity: 0;
		}
	}
</style>
